//
//  FLNFastLoginButton.m
//  百思不得姐
//
//  Created by xmg on 16/6/10.
//  Copyright © 2016年 FLN.com. All rights reserved.
//

#import "FLNFastLoginButton.h"

@implementation FLNFastLoginButton

- (void)layoutSubviews {

    [super layoutSubviews];
    
    //图片
    self.imageView.centerX = self.width * 0.5;
    self.imageView.y = 0;
    
    //文字
    
    [self.titleLabel sizeToFit];
    self.titleLabel.centerX = self.width * 0.5;
    self.titleLabel.y = self.height - self.titleLabel.height;

}

@end
